import http from "/@ts/axios";
import formatTool from "/@ts/hooks/format";
const { parseStrEmpty } = formatTool();

export function myMsg(query: any) {
  return http.request({
    url: "/sys/message/myMsg",
    method: "get",
    params: query,
  });
}
export function myTodo(query: any) {
  return http.request({
    url: "/sys/message/myTodo",
    method: "get",
    params: query,
  });
}
export function readSwitch(query: any) {
  return http.request({
    url: "/sys/message/readSwitch/"+query,
    method: "get",
  });
}
export function myToDoComplete(query: any) {
  return http.request({
    url: "/sys/message/myToDoComplete/"+query,
    method: "get",
  });
}
